package com.tywj.panda.launch.provider

import com.tywj.panda.customer.common.provider.ILaunchService
import com.tywj.panda.launch.api.LaunchApi
import com.tywj.panda.launch.route.LaunchRoute
import com.tywj.lib.net.retrofit.request.PostRequest
import com.tywj.lib.route.Route
import com.tywj.lib.route.RouteNavigation

@Route(path = LaunchRoute.LoGIN_SERVICE)
class LaunchServiceImp : ILaunchService {


    override fun toLoginByPhone(): RouteNavigation {
        return LaunchRoute.toLoginByPhone()
    }

    override fun toAuthLogin(): RouteNavigation {
        return LaunchRoute.toAuthLogin()
    }

    override fun logout(): PostRequest {
      return LaunchApi.logout()
    }

    override fun toMainCustomer(): RouteNavigation {
        TODO("Not yet implemented")
    }

    override fun toMainDriver(): RouteNavigation {
        TODO("Not yet implemented")
    }
}